package b.i.h;

import android.os.Handler;
import b.i.h.f.c;
import java.util.concurrent.Callable;

/* compiled from: SelfDestructiveThread */
public class g implements Runnable {
    public final /* synthetic */ Callable a;
    public final /* synthetic */ Handler b;
    public final /* synthetic */ c c;

    /* compiled from: SelfDestructiveThread */
    public class a implements Runnable {
        public final /* synthetic */ Object a;

        public a(Object obj) {
            this.a = obj;
        }

        public void run() {
            g.this.c.a(this.a);
        }
    }

    public g(f fVar, Callable callable, Handler handler, c cVar) {
        this.a = callable;
        this.b = handler;
        this.c = cVar;
    }

    public void run() {
        Object call;
        try {
            call = this.a.call();
        } catch (Exception unused) {
            call = null;
        }
        this.b.post(new a(call));
    }
}
